package com.lsa.letcode.the38.countAndSay;

import org.junit.Assert;
import org.junit.Test;

public class CountAndSayTest {
	@Test
	public void test() {
		Solution s = new Solution();
		Assert.assertEquals("1", s.countAndSay(1));
		Assert.assertEquals("11", s.countAndSay(2));
		Assert.assertEquals("21", s.countAndSay(3));
		Assert.assertEquals("1211", s.countAndSay(4));
		Assert.assertEquals("111221", s.countAndSay(5));
		Assert.assertEquals("312211", s.countAndSay(6));
		Assert.assertEquals("13112221", s.countAndSay(7));
		Assert.assertEquals("1113213211", s.countAndSay(8));
	}
}
